<template>
    <div>
        <el-button type="primary" @click="handleClick">用户</el-button>
        <el-button type="primary" @click="handleClick1">客服</el-button>
    </div>

</template>

<script setup>
import { ref, onMounted } from "vue";
import { useRouter } from "vue-router";

const router = useRouter();

const handleClick = () => {
    console.log("点击了");
    router.push("/user");
};

const handleClick1 = () => {
    console.log("点击了");
    router.push("/customer");
};

</script>